package com.joysuch.wwyt.core.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

/**
 * @Author ZhangDong
 * @Date 2020/6/8 16:42
 */
@Data
public class BaseUserPwdDto {

    @NotBlank(message = "用户名不能为空")
    @ApiModelProperty("用户名")
    private String userName;
    @Email(message = "邮箱格式不符合要求")
    @ApiModelProperty("用户名")
    private String email;
    @NotBlank(message = "companyCode不能为空")
    @ApiModelProperty("companyCode")
    private String companyCode;
    //邮箱验证码
    @ApiModelProperty("邮箱验证码")
    private String aduitPwd;
    //输入新密码
    @ApiModelProperty("输入新密码")
    private String newPassword;
    //确认新密码
    @ApiModelProperty("确认新密码")
    private String comfirmPassword;

}
